/* 
 * File:   Parameters.h
 * Author: mori
 *
 * Created on April 30, 2011, 1:24 PM
 */

#ifndef _PARAMETERS_H
#define	_PARAMETERS_H



class Parameters {
  public:
      Parameters();
      void setLeftR(float v);
      void setRightR(float v);
      void setUpZ(float v);
      void setDownZ(float v);
      void setNumberR(int v);
      void setNumberZ(int v);

      void setAlpha(float v);
      void setBetaPl(float v);
      void setBeta(float v);
      void setPsiG(float v);
      void setI(float v);

      void setPlasmaLeftR(float v);
      void setPlasmaRightR(float v);
      void setPlasmaUpZ(float v);
      void setPlasmaDownZ(float v);

      //void setR0(float v);


      void setPrecision(float v);

      void setCoilDataFile(const char* v);
    // getters
    float getLeftR();
    float getRightR();
    float getUpZ();
    float getDownZ();
    int   getNumberR();
    int   getNumberZ();
    float getR0();

    float getAlpha();
    float getBetaPl();
    float getBeta();
    float getPsiG();
    float getI();

    float getPlasmaLeftR();
    float getPlasmaRightR();
    float getPlasmaUpZ();
    float getPlasmaDownZ();

    
    float getPrecision();

    const char* getCoilDataFile();
  private:
      float left_r, right_r, up_z, down_z;
      int   number_r, number_z;

      float alpha, beta_pl, beta, psi_g;
      float pl_total_current; // I plasma total current


      float precision;

      const char* coil_data_file;

      float plasma_left_r;
      float plasma_right_r;
      float plasma_up_z;
      float plasma_down_z;

      float r0;

};

#endif	/* _PARAMETERS_H */

